package com.kust.smarthome.web.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("购物车信息表")
public class ShopDto implements Serializable {

    /*id name intro money imgurl1*/
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("商品id")
    private Integer commodityId;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品描述")
    private String intro;

    @ApiModelProperty("商品价格")
    private Double money;

    @ApiModelProperty("商品数量")
    private Integer commodityNumber;

    @ApiModelProperty("商品图片(首页图缩略)")
    private String imgurl1;


}
